<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$titulo?></title>
</head>
<body>
	<h2>
		<?=$cabecalho ?>
	</h2>


	<table border="1">
		<thead>
		</thead>
		<tbody>
			<tr>
				<td>id</td>
				<td>titulo</td>
				<td>descricao</td>
				<td>tag</td>
				<td>url</td>
				<td>idioma</td>
				<td>hash_url</td>
				<td>data_insert</td>
				<td>data_post</td>
				<td>site</td>
			</tr>
			<?php if ($perguntas != -1): ?>
			<?php foreach ($perguntas as $pergunta): ?>
			<tr>
				<td><?=$pergunta->id ?>
				</td>
				<td><?=$pergunta->titulo?>
				</td>
				<td><?=$pergunta->descricao?>
				</td>
				<td><?=$pergunta->tag?>
				</td>
				<td><?=$pergunta->url ?>
				</td>
				<td><?=$pergunta->idioma?>
				</td>
				<td><?=$pergunta->hash_url?>
				</td>
				<td><?=$pergunta->data_insert?>
				</td>
				<td><?=$pergunta->data_post?>
				</td>
				<td><?=$pergunta->site?>
				</td>
			</tr>
			<?php endforeach; ?>
			<?php else: ?>
			<p>Não há registros cadastrados!</p>
			<?php endif ?>
		</tbody>
	</table>
</body>
</html>
